﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="OrdersEdit.aspx.cs" Inherits="CRS.Web.BaseData.OrdersEdit" %>
<%@ Register Assembly="VitCode.Web.UI.PaginationGrid" Namespace="VitCode.Web.UI"
    TagPrefix="PaginationGrid" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link href="../ScriptFiles/CSS/Main.css" type="text/css" rel="stylesheet" />
</head>
<body>

    <form id="form1" runat="server">
    <div class="PageNav">
    订单明细
    </div>
    <asp:Menu runat="server" ID="tabMenu" Orientation="Horizontal" StaticMenuItemStyle-CssClass="tab"
        StaticSelectedStyle-CssClass="selectedTab" CssClass="tabs" runat="server" BorderColor="#A8CFEB"
        OnMenuItemClick="tabMenu_MenuItemClick">
        <Items>
            <asp:MenuItem Text="基本信息" Selected="true" Value="0"></asp:MenuItem>
            <asp:MenuItem Text="货物信息" Selected="false" Value="1"></asp:MenuItem>
        </Items>
    </asp:Menu>
    <div id="BillInfo" runat="server">
        <table runat="server" style="border: 1px solid #A8CFEB; background-color: #F1F6FF;
            margin-top: 2px; width: 100%; font-size: 12px;">
            <tr style="height: 8px"><td colspan="2"></td></tr>
            <tr>
                <td colspan="2">
                    <input type="button" runat="server" value="保  存" class="btn_mouseout" onmouseover="this.className='btn_mouseover' "
                        onmouseout="this.className='btn_mouseout' " onmousedown="this.className='btn_mousedown'"
                        onmouseup="this.className='btn_mouseup'" />&nbsp;&nbsp;
                    <input type="button" runat="server" value="删  除" class="btn_mouseout" onmouseover="this.className='btn_mouseover' "
                        onmouseout="this.className='btn_mouseout' " onmousedown="this.className='btn_mousedown'"
                        onmouseup="this.className='btn_mouseup'" />&nbsp;&nbsp;
                    <input type="button" runat="server" value="提交配货" class="btn_mouseout" onmouseover="this.className='btn_mouseover' "
                        onmouseout="this.className='btn_mouseout' " onmousedown="this.className='btn_mousedown'"
                        onmouseup="this.className='btn_mouseup'" />
                </td>
            </tr>
            <tr style="height: 8px"><td colspan="2"></td></tr>
            <tr>
                <td class="tdPageObjProMemo" style="width:64px">
                    单号：
                </td>
                <td class="tdPageObjProMemo">
                    <asp:Label ID="lblBillNo" runat="server">VC_0000000199</asp:Label>
                </td>
                </tr><tr>
                <td class="tdPageObjProMemo" style="width:64px">
                    创建人：
                </td>
                <td class="tdPageObjProMemo">
                    <asp:Label ID="lblCreateUser" runat="server">方大同</asp:Label>
                </td>
            </tr>
            <tr>
                <td class="tdPageObjProMemo">
                    创建时间：
                </td>
                <td class="tdPageObjProMemo">
                    <asp:Label ID="lblCreateDate" runat="server">2011-08-11 12:55:55</asp:Label>
                </td>
                </tr><tr>
                <td class="tdPageObjProMemo">
                    状态：
                </td>
                <td class="tdPageObjProMemo">
                    <asp:DropDownList ID="drpList" runat="server" Height="19px" Width="128px">
                    </asp:DropDownList>
                </td>
            </tr>
            <tr>
                <td class="tdPageObjProMemo">
                    备注：
                </td>
                <td  class="tdPageObjProMemo">
                    <asp:TextBox ID="TextBox1" runat="server" Height="75px" TextMode="MultiLine"  Width="400px" Rows="4" ></asp:TextBox>
                </td>
            </tr>
        </table>
    </div>
    <div id="GoodsInfoDiv" runat="server" visible="false">
        <div dir="ltr" visible="true" lang="am">
            <table runat="server" width="100%" style="border: 1px solid #A8CFEB; background-color: #F1F6FF;
            margin-top: 2px; width: 100%; font-size: 12px;">
                <tr style="height:8px">
                    <td colspan="2"></td>
                </tr>
                <tr>
                    <td>
                        货品条码：<input type="text" runat="server" id="txtBarcode" />&nbsp;&nbsp;
                        <asp:Button runat="server" ID="btnSelect" Text="选  择" OnClick="btnSelect_Click" class="btn_mouseout"
                            onmouseover="this.className='btn_mouseover' " onmouseout="this.className='btn_mouseout' "
                            onmousedown="this.className='btn_mousedown'" onmouseup="this.className='btn_mouseup'" />
                    </td>
                    <td align="right">
                        <asp:Button runat="server" ID="btnAdd" Text="确  定" OnClick="btnAdd_Click" class="btn_mouseout"
                            onmouseover="this.className='btn_mouseover' " onmouseout="this.className='btn_mouseout' "
                            onmousedown="this.className='btn_mousedown'" onmouseup="this.className='btn_mouseup'" />
                    </td>
                </tr>
                <tr style="height: 8px">
                    <td colspan="2">
                    </td>
                </tr>
            </table>
        </div>
        <div>
            <table runat="server" width="100%" style="border: 1px solid #A8CFEB; background-color: #F1F6FF;
            margin-top: 2px; width: 100%; font-size: 12px;" cellpadding="0" cellspacing="0">
            <tr style="height:8px">
                    <td colspan="10">
                    </td>
                </tr>
                <tr>
                    <td class="tdWoObjProMemo" style=" width:48px;">
                        货品条码：
                        <!--<asp:Label ID=lblBarcode runat=server Text=""></asp:Label>-->
                    </td>
                    <td class="tdWoObjProVal">
                        <asp:Label ID="lblBarcodeInfo" runat="server"></asp:Label>&nbsp;
                    </td>
                    <td class="tdWoObjProMemo" style=" width:32px">
                        品名：
                        <!--<asp:Label ID=lblName runat=server Text=""></asp:Label>-->
                    </td>
                    <td class="tdWoObjProVal">
                        <asp:Label ID="lblNameInfo" runat="server">&nbsp;</asp:Label>&nbsp;
                    </td>
                    <td class="tdWoObjProMemo" style=" width:36px">
                        <!--<asp:Label ID=lblSpecification runat=server Text=""></asp:Label>-->
                        规格：
                    </td>
                    <td class="tdWoObjProVal" >
                        <asp:Label ID="lblSpecificationInfo" runat="server"></asp:Label>&nbsp;
                    </td>
                    <td class="tdWoObjProMemo" style="width:32px">
                        <!--<asp:Label ID=lblUnit runat=server Text=""></asp:Label>-->
                        单位：
                    </td>
                    <td class="tdWoObjProVal">
                        <asp:Label ID="lblUnitInfo" runat="server"></asp:Label>&nbsp;
                    </td>
                    <td class="tdWoObjProMemo" style=" width:32px">
                        <!--<asp:Label ID=lblAmount runat=server Text=""></asp:Label>-->
                        数量：
                    </td>
                    <td class="tdWoObjProVal" >
                        <input type="text" runat="server" id="txtAmount" value="5" />
                    </td>
                </tr>
                <tr style="height:8px">
                    <td colspan="10">
                    </td>
                </tr>
            </table>
        </div>
        <div>
            <table runat="server" width="100%" style="border: 1px solid #A8CFEB; background-color: #F1F6FF;
            margin-top: 2px; width: 100%; font-size: 12px;">
                <tr>
                    <td>
                        <PaginationGrid:PaginationGrid ID="pgList" Width="100%" runat="server" DataKeyField="条码"
                            DataPaginationMode="Normal" DataFileFormat="Excel" Style="margin-bottom: 0px"
                            AutoGenerateColumns="True" OnOnGridItemSelect="pgList_OnGridItemSelect">
                            <Columns>
                                <PaginationGrid:PaginationGridButtonColumn CommandType="Select" HeaderText="选择" Text="选择">
                                </PaginationGrid:PaginationGridButtonColumn>
                            </Columns>
                        </PaginationGrid:PaginationGrid>
                    </td>
                </tr>
            </table>
        </div>
    </div>
    </form>
</body>
</html>
